package com.owner.dao;

import org.apache.ibatis.annotations.Param;

import com.owner.entity.Plots;
import com.owner.entity.User;

public interface UserDao {
 User getByLogin(@Param("nickname")String nickname,@Param("password")String password );//登录
 void addUser(User user);
 void addPlots(Plots plots);
 
 int getCountUser();//查询有多少个user用户
 int addZUser(User user);//添加总平台user
 int updateZUser(User user);//修改总平台user密码和用户名
}
